const cors = require("cors");
module.exports = cors({
    origin: ["http://localhost:8081", "http://192.168.18.144:8081", "http://localhost:8080", "http://192.168.18.144:8080"], //只允许当前地址进行跨域访问
    credentials: true
});